package com.xuexiang.yoyo.entity;

import java.io.Serializable;

/**
 * Created by liuxiangfei   20230316
 */
public class DataItemLatest implements Cloneable, Serializable {

    private static final long serialVersionUID = 2003458496977605900L;
    private Integer id;
    private String deviceCode;
    private String ln;
    private Integer attributeIndex;
    private String dataItemName;
    private String description;
    private String value;
    private String unit;
    private String gxdlmsClassName;
    private String username;
    private Long createTime;
    private String source;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getLn() {
        return ln;
    }

    public void setLn(String ln) {
        this.ln = ln;
    }

    public Integer getAttributeIndex() {
        return attributeIndex;
    }

    public void setAttributeIndex(Integer attributeIndex) {
        this.attributeIndex = attributeIndex;
    }

    public String getDataItemName() {
        return dataItemName;
    }

    public void setDataItemName(String dataItemName) {
        this.dataItemName = dataItemName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getGxdlmsClassName() {
        return gxdlmsClassName;
    }

    public void setGxdlmsClassName(String gxdlmsClassName) {
        this.gxdlmsClassName = gxdlmsClassName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    @Override
    public DataItemLatest clone(){
        DataItemLatest sc = null;
        try
        {
            sc = (DataItemLatest) super.clone();
        } catch (CloneNotSupportedException e){
            e.printStackTrace();
        }
        return sc;
    }

}
